import { defineStore } from 'pinia';

export const useBookingTempStore = defineStore('bookingTemp', {
  state: () => ({
    tempBookingDetails: null,
  }),
  actions: {
    setTempBookingDetails(details) {
      this.tempBookingDetails = details;
    },
    clearTempBookingDetails() {
      this.tempBookingDetails = null;
    },
  },
});
